package test;

import java.util.Set;

public class IndexContainWords implements Comparable<IndexContainWords> {
	public int id;
	public Set<String> words;
	@Override
	public int compareTo(IndexContainWords o) {
		if (this.id == o.id)
			return 0;
		else if (this.id < o.id)
			return -1;
		else
			return 1;
	}
}
